/*
 * ShipStatus.h
 *
 *  Created on: Nov 8, 2011
 *      Author: gonzalo
 */

#ifndef SHIPSTATUS_H_
#define SHIPSTATUS_H_

#include <string>
#include "../../common/DTOShipStatus.h"

class ShipStatus {
public:
	ShipStatus(std::string owner, std::string imagen, float velRotacion,
				int velMaxima, int propulsion, int friccion, int duracionBala, int posX,
				int posY);

	ShipStatus(DTOShipStatus* shipStatus);

	virtual ~ShipStatus();

	DTOShipStatus* transformInDTO() ;

	std::string getOwner();
	int getPosX();
	int getPosY();
    int getDuracionBala() const;
    int getFriccion() const;
    std::string getImagePath() const;
    int getPropultion() const;
    int getVelMax() const;
    float getVelRotacion() const;
	int getAngle() const;
	void setAngle(int angle);

private:
	std::string owner;
	int posX;
	int posY;
	std::string imagen;
	float velRotacion;
	int velMaxima;
	int propulsion;
	int friccion;
	int duracionBala;
	int angle;
	ShipStatus();
};

#endif /* ShipSTATUS_H_ */
